import request from '@/router/axios'

export function getCityListByProvinceId(id) {  //根据省份id查询所有城市
  return request({
    url: '/api/basic/area/city/'+id,
    method: 'get',
  })
}

export function getDistrictListByCityId(id) {  //根据城市id查询所有县区
  return request({
    url: '/api/basic/area/district/'+id,
    method: 'get',
  })
}
